Part Number Hot Search : 
AEP128SI MPS6566 SDR804RS 6143A TLN231 SM2761 01726203 80MHZ
Product Description
Full Text Search
 

To Download SC16C2550 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and infrared (IrDA) encoder/decoder
Rev. 03 -- 19 June 2003 Product data
1. Description
The SC16C2550 is a 2 channel Universal Asynchronous Receiver and Transmitter (UART) used for serial data communications. Its principal function is to convert parallel data into serial data and vice versa. The UART can handle serial data rates up to 5 Mbits/s. The SC16C2550 is pin compatible with the ST16C2550. It will power-up to be functionally equivalent to the 16C2450. The SC16C2550 provides enhanced UART functions with 16-byte FIFOs, modem control interface, DMA mode data transfer. The DMA mode data transfer is controlled by the FIFO trigger levels and the TXRDY and RXRDY signals. On-board status registers provide the user with error indications and operational status. System interrupts and modem control features may be tailored by software to meet specific user requirements. An internal loop-back capability allows on-board diagnostics. Independent programmable baud rate generators are provided to select transmit and receive baud rates. The SC16C2550 operates at 5 V, 3.3 V and 2.5 V and the Industrial temperature range, and is available in plastic PLCC44, LQFP48 and DIP40 packages.
2. Features
s s s s s s s s s s s s s s s 2 channel UART 5 V, 3.3 V and 2.5 V operation Industrial temperature range Pin and functionally compatible to 16C2450 and software compatible with INS8250, SC16C550 Up to 5 Mbits/s data rate at 5 V and 3.3 V, and 3 Mbits/s at 2.5 V 16 byte transmit FIFO to reduce the bandwidth requirement of the external CPU 16 byte receive FIFO with error flags to reduce the bandwidth requirement of the external CPU Independent transmit and receive UART control Four selectable Receive FIFO interrupt trigger levels Automatic software/hardware flow control Programmable Xon/Xoff characters Software selectable Baud Rate Generator Sleep mode Standard asynchronous error and framing bits (Start, Stop, and Parity Overrun Break) Transmit, Receive, Line Status, and Data Set interrupts independently controlled
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
s Fully programmable character formatting: x 5-, 6-, 7-, or 8-bit characters x Even-, Odd-, or No-Parity formats x 1-, 112-, or 2-stop bit x Baud generation (DC to 1.5 Mbit/s) s False start-bit detection s Complete status reporting capabilities s 3-State output TTL drive capabilities for bi-directional data bus and control bus s Line Break generation and detection s Internal diagnostic capabilities: x Loop-back controls for communications link fault isolation s Prioritized interrupt system controls s Modem control functions (CTS, RTS, DSR, DTR, RI, DCD).
3. Ordering information
Table 1: Ordering information Package Name SC16C2550IN40 SC16C2550IA44 SC16C2550IB48 DIP40 PLCC44 LQFP48 Description plastic dual in-line package; 40 leads (600 mil) plastic leaded chip carrier; 44 leads plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm Version SOT129-1 SOT187-2 SOT313-2 Type number
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
2 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
4. Block diagram
SC16C2550
TRANSMIT FIFO REGISTER D0-D7 IOR IOW RESET DATA BUS AND CONTROL LOGIC
TRANSMIT SHIFT REGISTER
TXA, TXB
INTERCONNECT BUS LINES AND CONTROL SIGNALS
RECEIVE FIFO REGISTER
RECEIVE SHIFT REGISTER
RXA, RXB
A0-A2 CSA CSB
REGISTER SELECT LOGIC
DTRA, DTRB RTSA, RTSB OP2A, OP2B
MODEM CONTROL LOGIC INTA, INTB TXRDYA, TXRDYB RXRDYA, RXRDYB INTERRUPT CONTROL LOGIC CLOCK AND BAUD RATE GENERATOR
CTSA, CTSB RIA, RIB CDA, CDB DSRA, DSRB
002aaa119
XTAL1 XTAL2
Fig 1. SC16C2550 block diagram.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
3 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
5. Pinning information
5.1 Pinning
D0 1 D1 2 D2 3 D3 4 D4 5 D5 6 D6 7 D7 8
40 VCC 39 RIA 38 CDA 37 DSRA 36 CTSA 35 RESET 34 DTRB 33 DTRA
RXA 10 TXA 11 TXB 12 OP2B 13 CSA 14 CSB 15 XTAL1 16 XTAL2 17 IOW 18 CDB 19 GND 20
SC16C2550IN40
RXB 9
32 RTSA 31 OP2A 30 INTA 29 INTB 28 A0 27 A1 26 A2 25 CTSB 24 RTSB 23 RIB 22 DSRB 21 IOR
002aaa105
Fig 2. DIP40 pin configuration.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
4 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
1 TXRDYA
41 DSRA
D5 D6 D7
7 8 9
40 CTSA
42 CDA
44 VCC
43 RIA
6 D4
5 D3
4 D2
3 D1
2 D0
39 RESET 38 DTRB 37 DTRA 36 RTSA 35 OP2A
RXB 10 RXA 11 TXRDYB 12 TXA 13 TXB 14 OP2B 15 CSA 16 CSB 17
SC16C2550IA44
34 RXRDYA 33 INTA 32 INTB 31 A0 30 A1 29 A2
XTAL1 18
XTAL2 19
IOW 20
CDB 21
GND 22
RXRDYB 23
IOR 24
DSRB 25
RIB 26
RTSB 27
CTSB 28
002aaa103
Fig 3. PLCC44 pin configuration.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
5 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
43 TXRDYA
39 DSRA
38 CTSA
40 CDA
D5 D6 D7 RXB RXA TXRDYB TXA TXB OP2B
1 2 3 4 5 6
37 N.C.
42 VCC
41 RIA
48 D4
47 D3
46 D2
45 D1
44 D0
36 RESET 35 DTRB 34 DTRA 33 RTSA 32 OP2A 31 RXRDYA
SC16C2550IB48
7 8 9 30 INTA 29 INTB 28 A0 27 A1 26 A2 25 N.C.
CSA 10 CSB 11 N.C. 12
XTAL1 13
XTAL2 14
IOW 15
CDB 16
GND 17
RXRDYB 18
IOR 19
DSRB 20
RIB 21
RTSB 22
CTSB 23
N.C. 24
002aaa104
Fig 4. LQFP48 pin configuration.
5.2 Pin description
Table 2: Symbol A0 A1 A2 28 27 26 31 30 29 Pin description Pin DIP40 PLCC44 LQFP48 28 27 26 10, 11 I I I I Address 0 select bit. Internal register address selection. Address 1 select bit. Internal register address selection. Address 2 select bit. Internal register address selection. Chip Select A, B (Active-LOW). This function is associated with individual channels, A through B. These pins enable data transfers between the user CPU and the SC16C2550 for the channel(s) addressed. Individual UART sections (A, B) are addressed by providing a logic 0 on the respective CSA, CSB pin. Data bus (bi-directional). These pins are the 8-bit, 3-State data bus for transferring information to or from the controlling CPU. D0 is the least significant bit and the first data bit in a transmit or receive serial data stream. Signal and power ground. Type Description
CSA, CSB 14, 15 16, 17
D0-D7
1-8
2-9
44-48, 1-3
I/O
GND
20
22
17
I
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
6 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Table 2: Symbol INTA, INTB
Pin description...continued Pin DIP40 PLCC44 LQFP48 30, 29 33, 32 30, 29 O Interrupt A, B (3-State). This function is associated with individual channel interrupts, INTA, INTB. INTA, INTB are enabled when MCR bit 3 is set to a logic 1, interrupts are enabled in the interrupt enable register (IER), and is active when an interrupt condition exists. Interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status flag is detected. Read strobe (Active-LOW strobe). A logic 0 transition on this pin will load the contents of an internal register defined by address bits A0-A2 onto the SC16C2550 data bus (D0-D7) for access by external CPU. Write strobe (Active-LOW strobe). A logic 0 transition on this pin will transfer the contents of the data bus (D0-D7) from the external CPU to an internal register that is defined by address bits A0-A2. Output 2 (user-defined). This function is associated with individual channels, A through B. The state at these pin(s) are defined by the user and through MCR register bit 3. INTA, INTB are set to the active mode and OP2 to logic 0 when MCR[3] is set to a logic 1. INTA, INTB are set to the 3-State mode and OP2 to a logic 1 when MCR[3] is set to a logic 0. See bit 3, Modem Control Register (MCR[3]). Since these bits control both the INTA, INTB operation and OP2 outputs, only one function should be used at one time, INT or OP2. Reset (Active-HIGH). A logic 1 on this pin will reset the internal registers and all the outputs. The UART transmitter output and the receiver input will be disabled during reset time. (See Section 7.11 "SC16C2550 external reset condition" for initialization details.) Receive Ready A, B (Active-LOW). This function is associated with PLCC44 and LQFP48 packages only. This function provides the RX FIFO/RHR status for individual receive channels (A-B). RXRDYn is primarily intended for monitoring DMA mode 1 transfers for the receive data FIFOs. A logic 0 indicates there is a receive data to read/upload, i.e., receive ready status with one or more RX characters available in the FIFO/RHR. This pin is a logic 1 when the FIFO/RHR is empty or when the programmed trigger level has not been reached. This signal can also be used for single mode transfers (DMA mode 0). Transmit Ready A, B (Active-LOW). This function is associated with PLCC44 and LQFP48 packages only. These outputs provide the TX FIFO/THR status for individual transmit channels (A-B). TXRDYn is primarily intended for monitoring DMA mode 1 transfers for the transmit data FIFOs. An individual channel's TXRDYA, TXRDYB buffer ready status is indicated by logic 0, i.e., at lease one location is empty and available in the FIFO or THR. This pin goes to a logic 1 (DMA mode 1) when there are no more empty locations in the FIFO or THR. This signal can also be used for single mode transfers (DMA mode 0). Power supply input. Crystal or external clock input. Functions as a crystal input or as an external clock input. A crystal can be connected between this pin and XTAL2 to form an internal oscillator circuit. This configuration requires an external 1 M resistor between the XTAL1 and XTAL2 pins. Alternatively, an external clock can be connected to this pin to provide custom data rates. (See Section 6.8 "Programmable baud rate generator".) See Figure 5.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Type Description
IOR
21
24
19
I
IOW
18
20
15
I
OP2A, OP2B
31, 13 35, 15
32, 9
O
RESET
35
39
36
I
RXRDYA, RXRDYB
-
34, 23
31, 18
O
TXRDYA, TXRDYB
-
1, 12
43, 6
O
VCC XTAL1
40 16
44 18
42 13
I I
9397 750 11621
Product data
Rev. 03 -- 19 June 2003
7 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Table 2: Symbol XTAL2
Pin description...continued Pin DIP40 PLCC44 LQFP48 17 19 14 O Output of the crystal oscillator or buffered clock. (See also XTAL1.) Crystal oscillator output or buffered clock output. Should be left open if an external clock is connected to XTAL1. For extended frequency operation, this pin should be tied to VCC via a 2 k resistor. Carrier Detect (Active-LOW). These inputs are associated with individual UART channels A through B. A logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. Clear to Send (Active-LOW). These inputs are associated with individual UART channels, A through B. A logic 0 on the CTS pin indicates the modem or data set is ready to accept transmit data from the SC16C2550. Status can be tested by reading MSR[4]. This pin has no effect on the UART's transmit or receive operation. Data Set Ready (Active-LOW). These inputs are associated with individual UART channels, A through B. A logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the UART. This pin has no effect on the UART's transmit or receive operation. Data Terminal REady (Active-LOW). These outputs are associated with individual UART channels, A through B. A logic 0 on this pin indicates that the SC16C2550 is powered-on and ready. This pin can be controlled via the modem control register. Writing a logic 1 to MCR[0] will set the DTR output to logic 0, enabling the modem. This pin will be a logic 1 after writing a logic 0 to MCR[0], or after a reset. This pin has no effect on the UART's transmit or receive operation. Ring Indicator (Active-LOW). These inputs are associated with individual UART channels, A through B. A logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. A logic 1 transition on this input pin will generate an interrupt. Request to Send (Active-LOW). These outputs are associated with individual UART channels, A through B. A logic 0 on the RTS pin indicates the transmitter has data ready and waiting to send. Writing a logic 1 in the modem control register MCR[1] will set this pin to a logic 0, indicating data is available. After a reset this pin will be set to a logic 1. This pin has no effect on the UART's transmit or receive operation. Receive data A, B. These inputs are associated with individual serial channel data to the SC16C2550 receive input circuits, A-B. The RX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loop-back mode, the RX input pin is disabled and TX data is connected to the UART RX input, internally. Transmit data A, B. These outputs are associated with individual serial transmit channel data from the SC16C2550. The TX signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. During the local loop-back mode, the TX output pin is disabled and TX data is internally connected to the UART RX input. Type Description
CDA, CDB CTSA, CTSB
38, 19 42, 21
40, 16
I
36, 25 40, 28
38, 23
I
DSRA, DSRB
37, 22 41, 25
39, 20
I
DTRA, DTRB
33, 34 37, 38
34, 35
O
RIA, RIB
39, 23 43, 26
41, 21
I
RTSA, RTSB
32, 24 36, 27
33, 22
O
RXA, RXB 10, 9
11, 10
5, 4
I
TXA, TXB 11, 12 13, 14
7, 8
O
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
8 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
6. Functional description
The SC16C2550 provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. These functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. Synchronization for the serial data stream is accomplished by adding start and stop bits to the transmit data to form a data character (character orientated protocol). Data integrity is insured by attaching a parity bit to the data character. The parity bit is checked by the receiver for any transmission bit errors. The electronic circuitry to provide all these functions is fairly complex, especially when manufactured on a single integrated silicon chip. The SC16C2550 represents such an integration with greatly enhanced features. The SC16C2550 is fabricated with an advanced CMOS process. The SC16C2550 is an upward solution that provides a dual UART capability with 16 bytes of transmit and receive FIFO memory, instead of none in the 16C2450. The SC16C2550 is designed to work with high speed modems and shared network environments that require fast data processing time. Increased performance is realized in the SC16C2550 by the transmit and receive FIFOs. This allows the external processor to handle more networking tasks within a given time. For example, the ST16C2450 without a receive FIFO, will require unloading of the RHR in 93 microseconds (this example uses a character length of 11 bits, including start/stop bits at 115.2 kbits/s). This means the external CPU will have to service the receive FIFO less than every 100 microseconds. However, with the 16 byte FIFO in the SC16C2550, the data buffer will not require unloading/loading for 1.53 ms. This increases the service interval, giving the external CPU additional time for other applications and reducing the overall UART interrupt servicing time. In addition, the four selectable receive FIFO trigger interrupt levels is uniquely provided for maximum data throughput performance especially when operating in a multi-channel environment. The FIFO memory greatly reduces the bandwidth requirement of the external controlling CPU, increases performance, and reduces power consumption. The SC16C2550 is capable of operation up to 5 Mbits/s with a 80 MHz clock. With a crystal or external clock input of 7.3728 MHz, the user can select data rates up to 460.8 kbits/s. The rich feature set of the SC16C2550 is available through internal registers. Selectable receive FIFO trigger levels, selectable TX and RX baud rates, and modem interface controls are all standard features. Following a power-on reset or an external reset, the SC16C2550 is software compatible with the previous generation, ST16C2450.
6.1 UART A-B functions
The UART provides the user with the capability to bi-directionally transfer information between an external CPU, the SC16C2550 package, and an external serial device. A logic 0 on chip select pins CSA and/or CSB allows the user to configure, send data, and/or receive data via UART channels A-B. Individual channel select functions are shown in Table 3.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
9 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Serial port selection Function none UART channel A UART channel B
Table 3:
Chip Select CSA-CSB = 1 CSA = 0 CSB = 0
6.2 Internal registers
The SC16C2550 provides two sets of internal registers (A and B) consisting of 12 registers each for monitoring and controlling the functions of each channel of the UART. These registers are shown in Table 4. The UART registers function as data holding registers (THR/RHR), interrupt status and control registers (IER/ISR), a FIFO control register (FCR), line status and control registers (LCR/LSR), modem status and control registers (MCR/MSR), programmable data rate (clock) control registers (DLL/DLM), and a user accessible scratchpad register (SPR).
Table 4: A2 0 0 0 0 1 1 1 1 0 0 0 1 1 1 1
[1] [2] [3]
Internal registers decoding A1 0 0 1 1 0 0 1 1 0 0 1 0 0 1 1 A0 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 Line Status Register Modem Status Register Scratchpad Register LSB of Divisor Latch MSB of Divisor Latch 1-2)[3] Enhanced Feature Register Xon1 word Xon2 word Xoff1 word Xoff2 word Enhanced Feature Register Xon1 word Xon2 word Xoff1 word Xoff2 word Interrupt Status Register READ mode Receive Holding Register WRITE mode Transmit Holding Register Interrupt Enable Register FIFO Control Register Line Control Register Modem Control Register n/a n/a Scratchpad Register LSB of Divisor Latch MSB of Divisor Latch
General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LSR, SPR)[1]
Baud rate register set (DLL/DLM)[2]
Enhanced register set (EFR, Xon/off
These registers are accessible only when LCR[7] is a logic 0. These registers are accessible only when LCR[7] is a logic 1. Enhanced Feature Register, Xon1, 2 and Xoff1, 2 are accessible only when the LCR is set to `BF(HEX)'.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
10 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
6.3 FIFO operation
The 16 byte transmit and receive data FIFOs are enabled by the FIFO Control Register (FCR) bit 0. The user can set the receive trigger level via FCR bits 6-7, but not the transmit trigger level. The receiver FIFO section includes a time-out function to ensure data is delivered to the external CPU. An interrupt is generated whenever the Receive Holding Register (RHR) has not been read following the loading of a character or the receive trigger level has not been reached.
Table 5: Flow control mechanism INT pin activation 1 4 8 14 Negate RTS or send Xoff 4 8 12 14 Assert RTS or send Xon 1 4 8 10
Selected trigger level (characters) 1 4 8 14
6.4 Hardware flow control
When automatic hardware flow control is enabled, the SC16C2550 monitors the CTS pin for a remote buffer overflow indication and controls the RTS pin for local buffer overflows. Automatic hardware flow control is selected by setting EFR[6] (RTS) and EFR[7] (CTS) to a logic 1. If CTS transitions from a logic 0 to a logic 1 indicating a flow control request, ISR[5] will be set to a logic 1 (if enabled via IER[6,7]), and the SC16C2550 will suspend TX transmissions as soon as the stop bit of the character in process is shifted out. Transmission is resumed after the CTS input returns to a logic 0, indicating more data may be sent. With the Auto RTS function enabled, an interrupt is generated when the receive FIFO reaches the programmed trigger level. The RTS pin will not be forced to a logic 1 (RTS off), until the receive FIFO reaches the next trigger level. However, the RTS pin will return to a logic 0 after the data buffer (FIFO) is unloaded to the next trigger level below the programmed trigger. However, under the above described conditions, the SC16C2550 will continue to accept data until the receive FIFO is full.
6.5 Software flow control
When software flow control is enabled, the SC16C2550 compares one or two sequential receive data characters with the programmed Xon/Xoff or Xoff1,2 character value(s). If received character(s) match the programmed values, the SC16C2550 will halt transmission (TX) as soon as the current character(s) has completed transmission. When a match occurs, the receive ready (if enabled via Xoff IER[5]) flags will be set and the interrupt output pin (if receive interrupt is enabled) will be activated. Following a suspension due to a match of the Xoff characters' values, the SC16C2550 will monitor the receive data stream for a match to the Xon1,2 character value(s). If a match is found, the SC16C2550 will resume operation and clear the flags (ISR[4]). Reset initially sets the contents of the Xon/Xoff 8-bit flow control registers to a logic 0. Following reset, the user can write any Xon/Xoff value desired for software flow control. Different conditions can be set to detect Xon/Xoff characters and suspend/resume transmissions. When double 8-bit Xon/Xoff characters are selected,
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
11 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
the SC16C2550 compares two consecutive receive characters with two software flow control 8-bit values (Xon1, Xon2, Xoff1, Xoff2) and controls TX transmissions accordingly. Under the above described flow control mechanisms, flow control characters are not placed (stacked) in the user accessible RX data buffer or FIFO. In the event that the receive buffer is overfilling and flow control needs to be executed, the SC16C2550 automatically sends an Xoff message (when enabled) via the serial TX output to the remote modem. The SC16C2550 sends the Xoff1,2 characters as soon as received data passes the programmed trigger level. To clear this condition, the SC16C2550 will transmit the programmed Xon1,2 characters as soon as receive data drops below the programmed trigger level.
6.6 Special feature software flow control
A special feature is provided to detect an 8-bit character when EFR[5] is set. When 8-bit character is detected, it will be placed on the user-accessible data stack along with normal incoming RX data. This condition is selected in conjunction with EFR[0-3]. Note that software flow control should be turned off when using this special mode by setting EFR[0-3] to a logic 0. The SC16C2550 compares each incoming receive character with Xoff2 data. If a match exists, the received data will be transferred to the FIFO, and ISR[4] will be set to indicate detection of a special character. Although the Internal Register Table (Table 7) shows each X-Register with eight bits of character information, the actual number of bits is dependent on the programmed word length. Line Control Register bits LCR[0-1] define the number of character bits, i.e., either 5 bits, 6 bits, 7 bits or 8 bits. The word length selected by LCR[0-1] also determine the number of bits that will be used for the special character comparison. Bit 0 in the X-registers corresponds with the LSB bit for the receive character.
6.7 Hardware/software and time-out interrupts
The interrupts are enabled by IER[0-3]. Care must be taken when handling these interrupts. Following a reset, if Interrupt Enable Register (IER) bit 1 = 1, the SC16C2550 will issue a Transmit Holding Register interrupt. This interrupt must be serviced prior to continuing operations. The LSR register provides the current singular highest priority interrupt only. It could be noted that CTS and RTS interrupts have lowest interrupt priority. A condition can exist where a higher priority interrupt may mask the lower priority CTS/RTS interrupt(s). Only after servicing the higher pending interrupt will the lower priority CTS/RTS interrupt(s) be reflected in the status register. Servicing the interrupt without investigating further interrupt conditions can result in data errors. When two interrupt conditions have the same priority, it is important to service these interrupts correctly. Receive Data Ready and Receive Time Out have the same interrupt priority (when enabled by IER[3]). The receiver issues an interrupt after the number of characters have reached the programmed trigger level. In this case, the SC16C2550 FIFO may hold more characters than the programmed trigger level. Following the removal of a data byte, the user should re-check LSR[0] for additional characters. A Receive Time Out will not occur if the receive FIFO is empty. The time-out counter is reset at the center of each stop bit received or each time the
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
12 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
receive holding register (RHR) is read. The actual time-out value is 4 character time, including data information length, start bit, parity bit, and the size of stop bit, i.e., 1x, 1.5x, or 2x bit times.
6.8 Programmable baud rate generator
The SC16C2550 supports high speed modem technologies that have increased input data rates by employing data compression schemes. For example, a 33.6 kbit/s modem that employs data compression may require a 115.2 kbit/s input data rate. A 128.0 kbit/s ISDN modem that supports data compression may need an input data rate of 460.8 kbit/s. The SC16C2550 can support a standard data rate of 921.6 kbit/s. A single baud rate generator is provided for the transmitter and receiver, allowing independent TX/RX channel control. The programmable Baud Rate Generator is capable of operating with a frequency of up to 80 MHz. To obtain maximum data rate, it is necessary to use full rail swing on the clock input. The SC16C2550 can be configured for internal or external clock operation. For internal clock oscillator operation, an industry standard microprocessor crystal is connected externally between the XTAL1 and XTAL2 pins. Alternatively, an external clock can be connected to the XTAL1 pin to clock the internal baud rate generator for standard or custom rates (see Table 6). The generator divides the input 16x clock by any divisor from 1 to 216 - 1. The SC16C2550 divides the basic external clock by 16. The basic 16x clock provides table rates to support standard and custom applications using the same system design. The rate table is configured via the DLL and DLM internal register functions. Customized Baud Rates can be achieved by selecting the proper divisor values for the MSB and LSB sections of baud rate generator. Programming the Baud Rate Generator Registers DLM (MSB) and DLL (LSB) provides a user capability for selecting the desired final baud rate. The example in Table 6 shows the selectable baud rate table available when using a 1.8432 MHz external clock input.
XTAL1
XTAL2
XTAL1
XTAL2 X1 1.8432 MHz 1.5 k C1 22 pF C2 47 pF
002aaa169
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
X1 1.8432 MHz C1 47 pF C2 100 pF
Fig 5. Crystal oscillator connection.
9397 750 11621
Product data
Rev. 03 -- 19 June 2003
13 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Baud rate generator programming table using a 1.8432 MHz clock Output Output DLM 16 x clock divisor 16 x clock divisor program value (decimal) (HEX) (HEX) 2304 1536 1047 768 384 192 96 48 32 24 16 12 6 3 2 1 900 600 417 300 180 C0 60 30 20 18 10 0C 06 03 02 01 09 06 04 03 01 00 00 00 00 00 00 00 00 00 00 00 DLL program value (HEX) 00 00 17 00 80 C0 60 30 20 18 10 0C 06 03 02 01
Table 6: Output baud rate 50 75 110 150 300 600 1200 2400 3600 4800 7200 9600 19.2 k 38.4 k 57.6 k 115.2 k
6.9 DMA operation
The SC16C2550 FIFO trigger level provides additional flexibility to the user for block mode operation. LSR[5,6] provide an indication when the transmitter is empty or has an empty location(s). The user can optionally operate the transmit and receive FIFOs in the DMA mode (FCR[3]). When the transmit and receive FIFOs are enabled and the DMA mode is de-activated (DMA Mode 0), the SC16C2550 activates the interrupt output pin for each data transmit or receive operation. When DMA mode is activated (DMA Mode 1), the user takes the advantage of block mode operation by loading or unloading the FIFO in a block sequence determined by the receive trigger level and the transmit FIFO. In this mode, the SC16C2550 sets the TXRDY (or RXRDY) output pin when characters in the transmit FIFO is below 16, or the characters in the receive FIFOs are above the receive trigger level.
6.10 Loop-back mode
The internal loop-back capability allows on-board diagnostics. In the loop-back mode, the normal modem interface pins are disconnected and reconfigured for loop-back internally (see Figure 6). MCR[0-3] register bits are used for controlling loop-back diagnostic testing. In the loop-back mode, the transmitter output (TX) and the receiver input (RX) are disconnected from their associated interface pins, and instead are connected together internally. The CTS, DSR, CD, and RI are disconnected from their normal modem control inputs pins, and instead are connected internally to RTS, DTR, MCR[3] (OP2) and MCR[2] (OP1). Loop-back test data is entered into the transmit holding register via the user data bus interface, D0-D7. The transmit UART serializes the data and passes the serial data to the receive UART via the internal loop-back connection. The receive UART converts the serial data back into parallel
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
14 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
data that is then made available at the user data interface D0-D7. The user optionally compares the received data to the initial transmitted data for verifying error-free operation of the UART TX/RX circuits. In this mode, the receiver and transmitter interrupts are fully operational. The Modem Control Interrupts are also operational.
SC16C2550
TRANSMIT FIFO REGISTER D0-D7 IOR IOW RESET DATA BUS AND CONTROL LOGIC
TRANSMIT SHIFT REGISTER
TXA, TXB
MCR[4] = 1
INTERCONNECT BUS LINES AND CONTROL SIGNALS
RECEIVE FIFO REGISTER
RECEIVE SHIFT REGISTER
RXA, RXB
RTSA, RTSB
A0-A2 CSA, CSB
REGISTER SELECT LOGIC
CTSA, CTSB DTRA, DTRB
MODEM CONTROL LOGIC
DSRA, DSRB (OP1A, OP1B)
INTA, INTB TXRDYA, TXRDYB RXRDYA, RXRDYB
INTERRUPT CONTROL LOGIC
CLOCK AND BAUD RATE GENERATOR
RIA, RIB (OP2A, OP2B)
CDA, CDB
002aaa120
XTAL1 XTAL2
Fig 6. Internal loop-back mode diagram.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
15 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7. Register descriptions
Table 7 details the assigned bit functions for the SC16C2550 internal registers. The assigned bit functions are more fully defined in Section 7.1 through Section 7.11.
Table 7: SC16C2550 internal registers Shaded bits are only accessible when EFR[4] is set. A2 0 0 0 A1 0 0 0 A0 0 0 1 Register Default[1] Bit 7 Set[2] XX XX 00 bit 7 bit 7 CTS interrupt bit 6 bit 6 RTS interrupt bit 5 bit 5 Xoff interrupt bit 4 bit 4 Sleep mode bit 3 bit 3 bit 2 bit 2 bit 1 bit 1 transmit holding register interrupt RCVR FIFO reset INT priority bit 0 bit 0 bit 0 receive holding register FIFOs enable INT status word length bit 0 DTR receive data ready CTS bit 0 bit 0 bit 8 Cont-0 Tx, Rx Control RHR THR IER Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 General Register
modem receive status line interrupt status interrupt DMA mode select INT priority bit 2 parity enable XMIT FIFO reset INT priority bit 1
0
1
0
FCR
00
RCVR trigger (MSB) FIFOs enabled divisor latch enable 0 FIFO data error CD bit 7 bit 7 bit 15 Auto CTS
RCVR trigger (LSB) FIFOs enabled
reserved 0 INT priority bit 4
reserved 0 INT priority bit 3
0
1
0
ISR
01
0
1
1
LCR
00
set break set parity even parity IR enable 0
stop bits word length bit 1 RTS overrun error DSR bit 1 bit 1 bit 9 Cont-1 Tx, Rx Control
1 1
0 0
0 1
MCR LSR
00 60
loop back OP2/INT (OP1) enable break interrupt CTS bit 4 bit 4 bit 12 framing error CD bit 3 bit 3 bit 11 parity error RI bit 2 bit 2 bit 10 Cont-2 Tx, Rx Control
THR and THR TSR empty empty RI bit 6 bit 6 bit 14 Auto RTS DSR bit 5 bit 5 bit 13 Special char. select
1 1 0 0 0
1 1 0 0 1
0 1 0 1 0
MSR SPR Set[3] DLL DLM Set[4] EFR
X0 FF XX XX 00
Special Register
Enhanced Register
Enable Cont-3 IER[4-7], Tx, Rx ISR[4,5], Control FCR[4,5], MCR[5-7] bit 4 bit 12 bit 4 bit 12 bit 3 bit 11 bit 3 bit 11
1 1 1 1
[1] [2] [3] [4]
0 0 1 1
0 1 0 1
Xon-1 Xon-2 Xoff-1 Xoff-2
00 00 00 00
bit 7 bit 15 bit 7 bit 15
bit 6 bit 14 bit 6 bit 14
bit 5 bit 13 bit 5 bit 13
bit 2 bit 10 bit 2 bit 10
bit 1 bit 9 bit 1 bit 9
bit 0 bit 8 bit 0 bit 8
The value shown in represents the register's initialized HEX value; X = n/a. Accessible only when LCR[7] is logic 0. Baud rate registers accessible only when LCR[7] is logic 1. Enhanced Feature Register, Xon-1,2 and Xoff-1,2 are accessible only when LCR is set to `BFHex'.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
9397 750 11621
Product data
Rev. 03 -- 19 June 2003
16 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.1 Transmit (THR) and Receive (RHR) Holding Registers
The serial transmitter section consists of an 8-bit Transmit Hold Register (THR) and Transmit Shift Register (TSR). The status of the THR is provided in the Line Status Register (LSR). Writing to the THR transfers the contents of the data bus (D7-D0) to the TSR and UART via the THR, providing that the THR is empty. The THR empty flag in the LSR register will be set to a logic 1 when the transmitter is empty or when data is transferred to the TSR. Note that a write operation can be performed when the THR empty flag is set (logic 0 = at least one byte in FIFO/THR, logic 1 = FIFO/THR empty). The serial receive section also contains an 8-bit Receive Holding Register (RHR) and a Receive Serial Shift Register (RSR). Receive data is removed from the SC16C2550 and receive FIFO by reading the RHR register. The receive section provides a mechanism to prevent false starts. On the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at the 16x clock rate. After 7-12 clocks, the start bit time should be shifted to the center of the start bit. At this time the start bit is sampled, and if it is still a logic 0 it is validated. Evaluating the start bit in this manner prevents the receiver from assembling a false character. Receiver status codes will be posted in the LSR.
7.2 Interrupt Enable Register (IER)
The Interrupt Enable Register (IER) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. These interrupts would normally be seen on the INTA, INTB output pins.
Table 8: Bit 7 Interrupt Enable Register bits description Symbol IER[7] Description CTS interrupt. Logic 0 = Disable the CTS interrupt (normal default condition). Logic 1 = Enable the CTS interrupt. The SC16C2550 issues an interrupt when the CTS pin transitions from a logic 0 to a logic 1. 6 IER[6] RTS interrupt. Logic 0 = Disable the RTS interrupt (normal default condition). Logic 1 = Enable the RTS interrupt. The SC16C2550 issues an interrupt when the RTS pin transitions from a logic 0 to a logic 1. 5 IER[5] Xoff interrupt. Logic 0 = Disable the software flow control, receive Xoff interrupt (normal default condition). Logic 1 = Enable the software flow control, receive Xoff interrupt. 4 IER[4] Sleep mode. Logic 0 = Disable sleep mode (normal default condition). Logic 1 = Enable sleep mode. 3 IER[3] Modem Status Interrupt. This interrupt will be issued whenever there is a modem status change as reflected in MSR[0-3]. Logic 0 = Disable the modem status register interrupt (normal default condition). Logic 1 = Enable the modem status register interrupt.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
17 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Interrupt Enable Register bits description...continued Symbol IER[2] Description Receive Line Status interrupt. This interrupt will be issued whenever a receive data error condition exists as reflected in LSR[1-4]. Logic 0 = Disable the receiver line status interrupt (normal default condition). Logic 1 = Enable the receiver line status interrupt.
Table 8: Bit 2
1
IER[1]
Transmit Holding Register interrupt. In the 16C450 mode, this interrupt will be issued whenever the THR is empty, and is associated with LSR[5]. In the FIFO modes, this interrupt will be issued whenever the FIFO is empty. Logic 0 = Disable the Transmit Holding Register Empty (TXRDY) interrupt (normal default condition). Logic 1 = Enable the TXRDY (ISR level 3) interrupt.
0
IER[0]
Receive Holding Register. In the 16C450 mode, this interrupt will be issued when the RHR has data, or is cleared when the RHR is empty. In the FIFO mode, this interrupt will be issued when the FIFO has reached the programmed trigger level or is cleared when the FIFO drops below the trigger level. Logic 0 = Disable the receiver ready (ISR level 2, RXRDY) interrupt (normal default condition). Logic 1 = Enable the RXRDY (ISR level 2) interrupt.
7.2.1
IER versus Transmit/Receive FIFO interrupt mode operation When the receive FIFO (FCR[0] = logic 1), and receive interrupts (IER[0] = logic 1) are enabled, the receive interrupts and register status will reflect the following:
* The receive RXRDY interrupt (Level 2 ISR interrupt) is issued to the external CPU
when the receive FIFO has reached the programmed trigger level. It will be cleared when the receive FIFO drops below the programmed trigger level.
* Receive FIFO status will also be reflected in the user accessible ISR register when
the receive FIFO trigger level is reached. Both the ISR register receive status bit and the interrupt will be cleared when the FIFO drops below the trigger level.
* The receive data ready bit (LSR[0]) is set as soon as a character is transferred
from the shift register (RSR) to the receive FIFO. It is reset when the FIFO is empty.
* When the Transmit FIFO and interrupts are enabled, an interrupt is generated
when the transmit FIFO is empty due to the unloading of the data by the TSR and UART for transmission via the transmission media. The interrupt is cleared either by reading the ISR register, or by loading the THR with new data characters.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
18 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.2.2
IER versus Receive/Transmit FIFO polled mode operation When FCR[0] = logic 1, resetting IER[0-3] enables the SC16C2550 in the FIFO polled mode of operation. In this mode, interrupts are not generated and the user must poll the LSR register for TX and/or RX data status. Since the receiver and transmitter have separate bits in the LSR either or both can be used in the polled mode by selecting respective transmit or receive control bit(s).
* * * *
LSR[0] will be a logic 1 as long as there is one byte in the receive FIFO. LSR[1-4] will provide the type of receive errors, or a receive break, if encountered. LSR[5] will indicate when the transmit FIFO is empty. LSR[6] will indicate when both the transmit FIFO and transmit shift register are empty.
* LSR[7] will show if any FIFO data errors occurred. 7.3 FIFO Control Register (FCR)
This register is used to enable the FIFOs, clear the FIFOs, set the receive FIFO trigger levels, and select the DMA mode. 7.3.1 DMA mode Mode 0 (FCR bit 3 = 0): Set and enable the interrupt for each single transmit or receive operation, and is similar to the 16C450 mode. Transmit Ready (TXRDY) on PLCC44 and LQFP48 packages will go to a logic 0 whenever the FIFO (THR, if FIFO is not enabled) is empty. Receive Ready (RXRDY) on PLCC44 and LQFP48 packages will go to a logic 0 whenever the Receive Holding Register (RHR) is loaded with a character. Mode 1 (FCR bit 3 = 1): Set and enable the interrupt in a block mode operation. The transmit interrupt is set when the transmit FIFO is empty. TXRDY on PLCC and LQFP48 packages remains a logic 0 as long as one empty FIFO location is available. The receive interrupt is set when the receive FIFO fills to the programmed trigger level. However, the FIFO continues to fill regardless of the programmed level until the FIFO is full. RXRDY on PLCC44 and LQFP48 packages transitions LOW when the FIFO reaches the trigger level, and transitions HIGH when the FIFO empties.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
19 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.3.2
FIFO mode
Table 9: Bit 7-6 FIFO Control Register bits description Symbol FCR[7] (MSB), FCR[6] (LSB) Description RCVR trigger. These bits are used to set the trigger level for the receive FIFO interrupt. Logic 0 (or cleared) = normal default condition. Logic 1 = RX trigger level. An interrupt is generated when the number of characters in the FIFO equals the programmed trigger level. However, the FIFO will continue to be loaded until it is full. Refer to Table 10. 5-4 3 FCR[5-4] FCR[3] Not used; initialized to logic 0. DMA mode select. Logic 0 = Set DMA mode `0' Logic 1 = Set DMA mode `1' Transmit operation in mode `0': When the SC16C2550 is in the 16C450 mode (FIFOs disabled; FCR[0] = logic 0) or in the FIFO mode (FIFOs enabled; FCR[0] = logic 1; FCR[3] = logic 0), and when there are no characters in the transmit FIFO or transmit holding register, the TXRDY pin in PLCC44 or LQFP48 packages will be a logic 0. Once active, the TXRDY pin will go to a logic 1 after the first character is loaded into the transmit holding register. Receive operation in mode `0': When the SC16C2550 is in mode `0' (FCR[0] = logic 0), or in the FIFO mode (FCR[3] = logic 0) and there is at lease one character in the receive FIFO, the RXRDY pin will be a logic 0. Once active, the RXRDY pin on PLCC44 and LQFP48 packages will go to a logic 1 when there are no more characters in the receiver. Transmit operation in mode `1': When the SC16C2550 is in FIFO mode (FCR[0] = logic 1; FCR[3] = logic 1), the TXRDY pin on PLCC44 and LQFP48 packages will be a logic 1 when the transmit FIFO is completely full. It will be a logic 0 if one or more FIFO locations are empty. Receive operation in mode `1': When the SC16C2550 is in FIFO mode (FCR[0] = logic 1; FCR[3] = logic 1) and the trigger level has been reached, or a Receive Time-Out has occurred, the RXRDY pin on PLCC44 and LQFP48 packages will go to a logic 0. Once activated, it will go to a logic 1 after there are no more characters in the FIFO. 2 FCR[2] XMIT FIFO reset. Logic 0 = Transmit FIFO not reset (normal default condition). Logic 1 = Clears the contents of the transmit FIFO and resets the FIFO counter logic (the transmit shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
20 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
FIFO Control Register bits description...continued Symbol FCR[1] Description RCVR FIFO reset. Logic 0 = Receive FIFO not reset (normal default condition). Logic 1 = Clears the contents of the receive FIFO and resets the FIFO counter logic (the receive shift register is not cleared or altered). This bit will return to a logic 0 after clearing the FIFO.
Table 9: Bit 1
0
FCR[0]
FIFOs enabled. Logic 0 = Disable the transmit and receive FIFO (normal default condition). Logic 1 = Enable the transmit and receive FIFO. This bit must be a `1' when other FCR bits are written to, or they will not be programmed.
Table 10: FCR[7] 0 0 1 1
RCVR trigger levels FCR[6] 0 1 0 1 RX FIFO trigger level 01 04 08 14
7.4 Interrupt Status Register (ISR)
The SC16C2550 provides four levels of prioritized interrupts to minimize external software interaction. The Interrupt Status Register (ISR) provides the user with four interrupt status bits. Performing a read cycle on the ISR will provide the user with the highest pending interrupt level to be serviced. No other interrupts are acknowledged until the pending interrupt is serviced. A lower level interrupt may be seen after servicing the higher level interrupt and re-reading the interrupt status bits. Table 11 "Interrupt source" shows the data values (bits 0-3) for the four prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels.
Table 11: Priority level 1 2 2 3 4 5 6 Interrupt source ISR[5] 0 0 0 0 0 0 1 ISR[4] 0 0 0 0 0 1 0 ISR[3] 0 0 1 0 0 0 0 ISR[2] 1 1 1 0 0 0 0 ISR[1] 1 0 0 1 0 0 0 ISR[0] 0 0 0 0 0 0 0 Source of the interrupt LSR (Receiver Line Status Register) RXRDY (Received Data Ready) RXRDY (Receive Data time-out) TXRDY (Transmitter Holding Register Empty) MSR (Modem Status Register) RXRDY (Received Xoff signal) / Special character CTS, RTS change of state
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
21 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Interrupt Status Register bits description Symbol ISR[7-6] Description FIFOs enabled. These bits are set to a logic 0 when the FIFOs are not being used in the 16C450 mode. They are set to a logic 1 when the FIFOs are enabled in the SC16C2550 mode. Logic 0 or cleared = default condition. INT priority bits 4-3. These bits are enabled when EFR[4] is set to a logic 1. ISR[4] indicates that matching Xoff character(s) have been detected. ISR[5] indicates that CTS, RTS have been generated. Note that once set to a logic 1, the ISR[4] bit will stay a logic 1 until Xon character(s) are received. Logic 0 or cleared = default condition. INT priority bits 2-0. These bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see Table 11). Logic 0 or cleared = default condition. INT status. Logic 0 = An interrupt is pending and the ISR contents may be used as a pointer to the appropriate interrupt service routine. Logic 1 = No interrupt pending (normal default condition).
Table 12: Bit 7-6
5-4
ISR[5-4]
3-1
ISR[3-1]
0
ISR[0]
7.5 Line Control Register (LCR)
The Line Control Register is used to specify the asynchronous data communication format. The word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register.
Table 13: Bit 7 Line Control Register bits description Symbol LCR[7] Description Divisor latch enable. The internal baud rate counter latch and Enhance Feature mode enable. Logic 0 = Divisor latch disabled (normal default condition). Logic 1 = Divisor latch enabled. 6 LCR[6] Set break. When enabled, the Break control bit causes a break condition to be transmitted (the TX output is forced to a logic 0 state). This condition exists until disabled by setting LCR[6] to a logic 0. Logic 0 = no TX break condition (normal default condition) Logic 1 = forces the transmitter output (TX) to a logic 0 for alerting the remote receiver to a line break condition. 5-3 2 LCR[5-3] LCR[2] Programs the parity conditions (see Table 14). Stop bits. The length of stop bit is specified by this bit in conjunction with the programmed word length (see Table 15). Logic 0 or cleared = default condition. 1-0 LCR[1-0] Word length bits 1, 0. These two bits specify the word length to be transmitted or received (see Table 16). Logic 0 or cleared = default condition.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
22 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
LCR[5-3] parity selection LCR[4] X 0 1 0 1 LCR[3] 0 1 1 1 1 Parity selection no parity ODD parity EVEN parity forced parity `1' forced parity `0'
Table 14: LCR[5] X X 0 0 1 Table 15: LCR[2] 0 1 1 Table 16: LCR[1] 0 0 1 1
LCR[2] stop bit length Word length 5, 6, 7, 8 5 6, 7, 8 Stop bit length (bit times) 1 1-12 2
LCR[1-0] word length LCR[0] 0 1 0 1 Word length 5 6 7 8
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
23 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.6 Modem Control Register (MCR)
This register controls the interface with the modem or a peripheral device.
Table 17: Bit 7 6 Modem Control Register bits description Symbol MCR[7] MCR[6] Description Reserved; set to `0'. IR enable. Logic 0 = Enable the standard modem receive and transmit input/output interface (normal default condition). Logic 1 = Enable infrared IrDA receive and transmit inputs/outputs. While in this mode, the TX/RX output/inputs are routed to the infrared encoder/decoder. The data input and output levels will conform to the IrDA infrared interface requirement. As such, while in this mode, the infrared TX output will be a logic 0 during idle data conditions. 5 4 MCR[5] MCR[4] Reserved; set to `0'. Loop-back. Enable the local loop-back mode (diagnostics). In this mode the transmitter output (TX) and the receiver input (RX), CTS, DSR, CD, and RI are disconnected from the SC16C2550 I/O pins. Internally the modem data and control pins are connected into a loop-back data configuration (see Figure 6). In this mode, the receiver and transmitter interrupts remain fully operational. The Modem Control Interrupts are also operational, but the interrupts' sources are switched to the lower four bits of the Modem Control. Interrupts continue to be controlled by the IER register. Logic 0 = Disable loop-back mode (normal default condition). Logic 1 = Enable local loop-back mode (diagnostics). 3 MCR[3] OP2/INT enable Logic 0 = Forces INT (A-B) outputs to the 3-State mode and sets OP2 to a logic 1 (normal default condition). Logic 1 = Forces the INT (A-B outputs to the active mode and sets OP2 to a logic 0. 2 MCR[2] (OP1). OP1A/OP1B are not available as an external signal in the SC16C2550. This bit is instead used in the Loop-back mode only. In the loop-back mode, this bit is used to write the state of the modem RI interface signal. RTS Logic 0 = Force RTS output to a logic 1 (normal default condition). Logic 1 = Force RTS output to a logic 0. 0 MCR[0] DTR Logic 0 = Force DTR output to a logic 1 (normal default condition). Logic 1 = Force DTR output to a logic 0.
1
MCR[1]
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
24 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.7 Line Status Register (LSR)
This register provides the status of data transfers between the SC16C2550 and the CPU.
Table 18: Bit 7 Line Status Register bits description Symbol LSR[7] Description FIFO data error. Logic 0 = No error (normal default condition). Logic 1 = At least one parity error, framing error or break indication is in the current FIFO data. This bit is cleared when there are no remaining error flags associated with the remaining data in the FIFO. 6 LSR[6] THR and TSR empty. This bit is the Transmit Empty indicator. This bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. It is reset to logic 0 whenever either the THR or TSR contains a data character. In the FIFO mode, this bit is set to `1' whenever the transmit FIFO and transmit shift register are both empty. THR empty. This bit is the Transmit Holding Register Empty indicator. This bit indicates that the UART is ready to accept a new character for transmission. In addition, this bit causes the UART to issue an interrupt to CPU when the THR interrupt enable is set. The THR bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. The bit is reset to a logic 0 concurrently with the loading of the transmitter holding register by the CPU. In the FIFO mode, this bit is set when the transmit FIFO is empty; it is cleared when at least 1 byte is written to the transmit FIFO. Break interrupt. Logic 0 = No break condition (normal default condition). Logic 1 = The receiver received a break signal (RX was a logic 0 for one character frame time). In the FIFO mode, only one break character is loaded into the FIFO. 3 LSR[3] Framing error. Logic 0 = No framing error (normal default condition). Logic 1 = Framing error. The receive character did not have a valid stop bit(s). In the FIFO mode, this error is associated with the character at the top of the FIFO. 2 LSR[2] Parity error. Logic 0 = No parity error (normal default condition. Logic 1 = Parity error. The receive character does not have correct parity information and is suspect. In the FIFO mode, this error is associated with the character at the top of the FIFO.
5
LSR[5]
4
LSR[4]
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
25 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Line Status Register bits description...continued Symbol LSR[1] Description Overrun error. Logic 0 = No overrun error (normal default condition). Logic 1 = Overrun error. A data overrun error occurred in the receive shift register. This happens when additional data arrives while the FIFO is full. In this case, the previous data in the shift register is overwritten. Note that under this condition, the data byte in the receive shift register is not transferred into the FIFO, therefore the data in the FIFO is not corrupted by the error.
Table 18: Bit 1
0
LSR[0]
Receive data ready. Logic 0 = No data in receive holding register or FIFO (normal default condition). Logic 1 = Data has been received and is saved in the receive holding register or FIFO.
7.8 Modem Status Register (MSR)
This register provides the current state of the control interface signals from the modem, or other peripheral device to which the SC16C2550 is connected. Four bits of this register are used to indicate the changed information. These bits are set to a logic 1 whenever a control input from the modem changes state. These bits are set to a logic 0 whenever the CPU reads this register.
Table 19: Bit 7 Modem Status Register bits description Symbol MSR[7] Description CD. During normal operation, this bit is the complement of the CD input. Reading this bit in the loop-back mode produces the state of MCR[3] (OP2). RI. During normal operation, this bit is the complement of the RI input. Reading this bit in the loop-back mode produces the state of MCR[2] (OP1). DSR. During normal operation, this bit is the complement of the DSR input. During the loop-back mode, this bit is equivalent to MCR[0] (DTR). CTS. During normal operation, this bit is the complement of the CTS input. During the loop-back mode, this bit is equivalent to MCR[1] (RTS). CD [1] Logic 0 = No CD change (normal default condition). Logic 1 = The CD input to the SC16C2550 has changed state since the last time it was read. A modem Status Interrupt will be generated. 2 MSR[2] RI [1] Logic 0 = No RI change (normal default condition). Logic 1 = The RI input to the SC16C2550 has changed from a logic 0 to a logic 1. A modem Status Interrupt will be generated.
6
MSR[6]
5
MSR[5]
4
MSR[4]
3
MSR[3]
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
26 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Modem Status Register bits description...continued Symbol MSR[1] Description DSR [1] Logic 0 = No DSR change (normal default condition). Logic 1 = The DSR input to the SC16C2550 has changed state since the last time it was read. A modem Status Interrupt will be generated.
Table 19: Bit 1
0
MSR[0]
CTS [1] Logic 0 = No CTS change (normal default condition). Logic 1 = The CTS input to the SC16C2550 has changed state since the last time it was read. A modem Status Interrupt will be generated.
[1]
Whenever any MSR bit 0-3 is set to logic 1, a Modem Status Interrupt will be generated.
7.9 Scratchpad Register (SPR)
The SC16C2550 provides a temporary data register to store 8 bits of user information.
7.10 Enhanced Feature Register (EFR)
Enhanced features are enabled or disabled using this register. Bits 0 through 4 provide single or dual character software flow control selection. When the Xon1 and Xon2 and/or Xoff1 and Xoff2 modes are selected, the double 8-bit words are concatenated into two sequential numbers.
Table 20: Bit 7 Enhanced Feature Register bits description Description Automatic CTS flow control. Logic 0 = Automatic CTS flow control is disabled (normal default condition). Logic 1 = Enable Automatic CTS flow control. Transmission will stop when CTS goes to a logical 1. Transmission will resume when the CTS pin returns to a logical 0. 6 EFR[6] Automatic RTS flow control. Automatic RTS may be used for hardware flow control by enabling EFR[6]. When Auto-RTS is selected, an interrupt will be generated when the receive FIFO is filled to the programmed trigger level and RTS will go to a logic 1 at the next trigger level. RTS will return to a logic 0 when data is unloaded below the next lower trigger level (programmed trigger level 1). The state of this register bit changes with the status of the hardware flow control. RTS functions normally when hardware flow control is disabled. 0 = Automatic RTS flow control is disabled (normal default condition). 1 = Enable Automatic RTS flow control.
Symbol EFR[7]
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
27 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Enhanced Feature Register bits description...continued Description Special Character Detect. Logic 0 = Special character detect disabled (normal default condition). Logic 1 = Special character detect enabled. The SC16C2550 compares each incoming receive character with Xoff2 data. If a match exists, the received data will be transferred to FIFO and ISR[4] will be set to indicate detection of special character. Bit-0 in the X-registers corresponds with the LSB bit for the receive character. When this feature is enabled, the normal software flow control must be disabled (EFR[3-0] must be set to a logic 0).
Table 20: Bit 5
Symbol EFR[5]
4
EFR[4]
Enhanced function control bit. The content of IER[7-4], ISR[5-4], FCR[5-4], and MCR[7-5] can be modified and latched. After modifying any bits in the enhanced registers, EFR[4] can be set to a logic 0 to latch the new values. This feature prevents existing software from altering or overwriting the SC16C2550 enhanced functions. Logic 0 = disable/latch enhanced features. IER[7-4], ISR[5-4], FCR[5-4], and MCR[7-5] are saved to retain the user settings, then IER[7-4] ISR[5-4], FCR[5-4], and MCR[7-5] are set to a logic 0 to be compatible with SC16C554 mode. (Normal default condition.) Logic 1 = Enables the enhanced functions. When this bit is set to a logic 1, all enhanced features of the SC16C2550 are enabled and user settings stored during a reset will be restored.
3-0
EFR[3-0] Cont-3-0 Tx, Rx control. Logic 0 or cleared is the default condition. Combinations of software flow control can be selected by programming these bits. See Table 21. Software flow control functions[1] Cont-2 0 0 1 1 X X X 0 1 1 Cont-1 X X X X 0 1 0 1 1 1 Cont-0 X X X X 0 0 1 1 1 1 TX, RX software flow controls No transmit flow control Transmit Xon1/Xoff1 Transmit Xon2/Xoff2 Transmit Xon1 and Xon2/Xoff1 and Xoff2 No receive flow control Receiver compares Xon1/Xoff1 Receiver compares Xon2/Xoff2 Transmit Xon1/Xoff1 Receiver compares Xon1 and Xon2, Xoff1 and Xoff2 Transmit Xon2/Xoff2 Receiver compares Xon1 and Xon2/Xoff1 and Xoff2 Transmit Xon1 and Xon2/Xoff1 and Xoff2 Receiver compares Xon1 and Xon2/Xoff1 and Xoff2
Table 21: Cont-3 0 1 0 1 X X X 1 0 1
[1]
When using a software flow control the Xon/Xoff characters cannot be used for data transfer.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
28 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
7.11 SC16C2550 external reset condition
Table 22: Register IER FCR ISR LCR MCR LSR MSR SPR DLL DLM Table 23: Output TXA, TXB OP2A, OP2B RTSA, RTSB DTRA, DTRB INTA, INTB Reset state for registers Reset state IER[7-0] = 0 FCR[7-0] = 0 ISR[7-1] = 0; ISR[0] = 1 LCR[7-0] = 0 MCR[7-0] = 0 LSR[7] = 0; LSR[6-5] = 1; LSR[4-0] = 0 MSR[7-4] = input signals; MSR[3-0] = 0 SFR[7-0] = 1 DLL[7-0] = X DLM[7-0] = X Reset state for outputs Reset state Logic 1 Logic 1 Logic 1 Logic 1 3-State condition
8. Limiting values
Table 24: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol VCC Vn Tamb Tstg Ptot(pack) Parameter supply voltage voltage at any pin operating temperature storage temperature total power dissipation per package Conditions Min GND - 0.3 -40 -65 Max 7 VCC + 0.3 +85 +150 500 Unit V V C C mW
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
29 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
9. Static characteristics
Table 25: DC electrical characteristics Tamb = -40 C to +85 C; VCC = 2.5 V, 3.3 V or 5.0 V 10%, unless otherwise specified. Symbol VIL(CK) VIH(CK) VIL VIH VOL Parameter LOW-level clock input voltage HIGH-level clock input voltage LOW-level input voltage (except X1 clock) HIGH-level input voltage (except X1 clock) LOW-level output voltage on all outputs[1] IOL = 5 mA (databus) IOL = 4 mA (other outputs) IOL = 2 mA (databus) IOL = 1.6 mA (other outputs) VOH HIGH-level output voltage IOH = -5 mA (databus) IOH = -1 mA (other outputs) IOH = -800 A (data bus) IOH = -400 A (other outputs) ILIL ICL ICC Ci
[1]
Conditions Min -0.3 1.8 -0.3 1.6 1.85 1.85 f = 5 MHz -
2.5 V Max 0.45 VCC 0.65 0.4 0.4 10 30 3.5 5 Min -0.3 2.4 -0.3 2.0 2.0 -
3.3 V Max 0.6 VCC 0.8 0.4 10 30 4.5 5 Min -0.5 3.0 -0.5 2.2 2.4 -
5.0 V Max 0.6 VCC 0.8 0.4 10 30 4.5 5
Unit V V V V V V V V V V V V A A mA pF
LOW-level input leakage current clock leakage supply current input capacitance
Except x2, VOL = 1 V typical.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
30 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
10. Dynamic characteristics
Table 26: AC electrical characteristics Tamb = -40 C to +85 C; VCC = 2.5 V, 3.3 V or 5.0 V 10%, unless otherwise specified. Symbol t1w, t2w t3w t6s t6h t7d t7w t7h t9d t12d t12h t13d t13w t13h t15d t16s t16h t17d t18d t19d t20d t21d t22d t23d t24d t25d t26d t27d t28d tRESET N
[1] [2]
Parameter clock pulse duration oscillator/clock frequency address set-up time address hold time IOR delay from chip select IOR strobe width chip select hold time from IOR read cycle delay delay from IOR to data data disable time IOW delay from chip select IOW strobe width chip select hold time from IOW write cycle delay data set-up time data hold time delay from IOW to output delay to set interrupt from Modem input delay to reset interrupt from IOR delay from stop to set interrupt delay from IOR to reset interrupt delay from start to set interrupt delay from IOW to transmit start delay from IOW to reset interrupt delay from stop to set RXRDY delay from IOR to reset RXRDY delay from IOW to set TXRDY delay from start to reset TXRDY Reset pulse width baud rate divisor
Conditions Min 10
[1]
2.5 V Max 48 77 15 -[2] 100 100 100 1 100 100 24 100 1 100 100 8 216 - 1 Min 6 0 0 10 26 0 20 10 20 0 25 20 5 8 40 1
3.3 V Max 80 26 15 -[2] 33 24 24 1 29 45 24 45 1 45 45 8 216 - 1 0 0 10 23 0 20 10 15 0 20 15 5 8 40 1 Min 6
5.0 V Max 80 23 15 -[2] 29 23 23 1 28 40 24 40 1 40 40 8 216 - 1
Unit ns MHz ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Rclk ns ns Rclk ns Rclk ns ns Rclk ns Rclk
0 0 10
25 pF load 25 pF load 25 pF load 25 pF load
77 0 20 10 20 0
[3]
25 20 15
25 pF load 25 pF load 25 pF load 25 pF load
8 200 1
Applies to external clock, crystal oscillator max 24 MHz.
1 IOWstrobe max = ------------------------------------2 ( Baudrate max )
= 333 ns (for Baudratemax = 1.5 Mbits/s) = 1 s (for Baudratemax = 460.8 kbits/s) = 4 s (for Baudratemax = 115.2 kbits/s) When in both DMA mode 0 and FIFO enable mode, the write cycle delay should be larger than one x1, clock cycle.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
[3]
9397 750 11621
Product data
Rev. 03 -- 19 June 2003
31 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
10.1 Timing diagrams
t6h VALID ADDRESS
A0-A2
t6s
t13h
CSx
ACTIVE
t13d t13w
t15d
IOW
ACTIVE
t16s
t16h
D0-D7
DATA
002aaa109
Fig 7. General write timing.
t6h VALID ADDRESS
A0-A2
t6s
t7h
CSx
ACTIVE
t7d t7w
t9d
IOR
ACTIVE
t12d
t12h
D0-D7
DATA
002aaa110
Fig 8. General read timing.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
32 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
IOW
ACTIVE
t17d
RTS DTR
CHANGE OF STATE
CHANGE OF STATE
DCD CTS DSR t18d t18d CHANGE OF STATE CHANGE OF STATE
INT
ACTIVE
ACTIVE
ACTIVE
t19d
IOR
ACTIVE
ACTIVE
ACTIVE
t18d
RI
CHANGE OF STATE
002aaa111
Fig 9. Modem input/output timing.
t 2w
t 1w
EXTERNAL CLOCK
t 3w
002aaa112
Fig 10. External clock timing.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
33 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS t20d 7 DATA BITS INT ACTIVE
t21d
IOR
ACTIVE
16 BAUD RATE CLOCK
002aaa113
Fig 11. Receive timing.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
34 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
t25d ACTIVE DATA READY t26d
RXRDY
IOR
ACTIVE
002aaa114
Fig 12. Receive ready timing in non-FIFO mode.
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
RX
D0
D1
D2
D3
D4
D5
D6
D7
FIRST BYTE THAT REACHES THE TRIGGER LEVEL
t25d ACTIVE DATA READY t26d
RXRDY
IOR
ACTIVE
002aaa115
Fig 13. Receive ready timing in FIFO mode.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
35 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
TX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS
7 DATA BITS
INT
ACTIVE TX READY
t22d t23d IOW ACTIVE
t24d
ACTIVE
16 BAUD RATE CLOCK
002aaa116
Fig 14. Transmit timing.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
36 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
NEXT DATA START BIT
TX
D0
D1
D2
D3
D4
D5
D6
D7
IOW
ACTIVE
D0-D7
BYTE #1
t27d
TXRDY TRANSMITTER NOT READY
ACTIVE TRANSMITTER READY
002aaa117
Fig 15. Transmit ready timing in non-FIFO mode.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
37 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
START BIT DATA BITS (5-8)
PARITY BIT
STOP BIT
TX
D0
D1
D2
D3
D4
D5
D6
D7
5 DATA BITS
6 DATA BITS
7 DATA BITS
IOW
ACTIVE
t28d
D0-D7
BYTE #16
t27d
TXRDY
FIFO FULL
002aaa118
Fig 16. Transmit ready timing in FIFO mode (DMA mode `1').
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
38 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
11. Package outline
DIP40: plastic dual in-line package; 40 leads (600 mil) SOT129-1
seating plane
D
ME
A2
A
L
A1 c Z e b1 b 40 21 MH wM (e 1)
pin 1 index E
1
20
0
5 scale
10 mm
DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT mm inches A max. 4.7 0.19 A1 min. 0.51 0.02 A2 max. 4 0.16 b 1.70 1.14 0.067 0.045 b1 0.53 0.38 0.021 0.015 c 0.36 0.23 0.014 0.009 D
(1)
E
(1)
e 2.54 0.1
e1 15.24 0.6
L 3.60 3.05 0.14 0.12
ME 15.80 15.24 0.62 0.60
MH 17.42 15.90 0.69 0.63
w 0.254 0.01
Z (1) max. 2.25 0.089
52.5 51.5 2.067 2.028
14.1 13.7 0.56 0.54
Note 1. Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included. OUTLINE VERSION SOT129-1 REFERENCES IEC 051G08 JEDEC MO-015 JEITA SC-511-40 EUROPEAN PROJECTION
ISSUE DATE 99-12-27 03-02-13
Fig 17. DIP40 package outline (SOT129-1).
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
39 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
PLCC44: plastic leaded chip carrier; 44 leads
SOT187-2
eD y X A ZE
eE
39
29 28
bp
40
b1 wM 44 HE A e A4 A1 (A 3) k 7 e D HD 17 ZD B vMB vM A 6 18 Lp detail X
1
pin 1 index
E
0
5 scale
10 mm
DIMENSIONS (mm dimensions are derived from the original inch dimensions) A4 A1 UNIT A A3 D(1) E(1) e eD eE HD bp b1 max. min.
mm inches 4.57 4.19 0.51 0.25 0.01 3.05 0.12 0.53 0.33 0.81 0.66
HE
k
Lp
1.44 1.02
v
0.18
w
0.18
y
0.1
ZD(1) ZE(1) max. max.
2.16 2.16
16.66 16.66 16.00 16.00 17.65 17.65 1.22 1.27 16.51 16.51 14.99 14.99 17.40 17.40 1.07 0.63 0.59 0.63 0.59
45 o
0.180 0.02 0.165
0.021 0.032 0.656 0.656 0.05 0.013 0.026 0.650 0.650
0.695 0.695 0.048 0.057 0.007 0.007 0.004 0.085 0.085 0.685 0.685 0.042 0.040
Note 1. Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included. OUTLINE VERSION SOT187-2 REFERENCES IEC 112E10 JEDEC MS-018 JEITA EDR-7319 EUROPEAN PROJECTION
ISSUE DATE 99-12-27 01-11-14
Fig 18. PLCC44 package outline (SOT187-2).
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
40 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
LQFP48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm
SOT313-2
c
y X
36 37
25 24 ZE
A
e
E HE
A A2
A1
(A 3) Lp L detail X
wM pin 1 index 48 1 12 ZD bp D HD wM B vM B vM A 13 bp
e
0
2.5 scale
5 mm
DIMENSIONS (mm are the original dimensions) UNIT mm A max. 1.6 A1 0.20 0.05 A2 1.45 1.35 A3 0.25 bp 0.27 0.17 c 0.18 0.12 D (1) 7.1 6.9 E (1) 7.1 6.9 e 0.5 HD 9.15 8.85 HE 9.15 8.85 L 1 Lp 0.75 0.45 v 0.2 w 0.12 y 0.1 Z D (1) Z E (1) 0.95 0.55 0.95 0.55 7 0o
o
Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT313-2 REFERENCES IEC 136E05 JEDEC MS-026 JEITA EUROPEAN PROJECTION
ISSUE DATE 00-01-19 03-02-25
Fig 19. LQFP48 package outline (SOT313-2).
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
41 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
12. Soldering
12.1 Introduction
This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages (document order number 9398 652 90011). There is no soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and surface mount components are mixed on one printed-circuit board. Wave soldering can still be used for certain surface mount ICs, but it is not suitable for fine pitch SMDs. In these situations reflow soldering is recommended. Driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing.
12.2 Through-hole mount packages
12.2.1 Soldering by dipping or by solder wave Typical dwell time of the leads in the wave ranges from 3 to 4 seconds at 250 C or 265 C, depending on solder material applied, SnPb or Pb-free respectively. The total contact time of successive solder waves must not exceed 5 seconds. The device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (Tstg(max)). If the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. 12.2.2 Manual soldering Apply the soldering iron (24 V or less) to the lead(s) of the package, either below the seating plane or not more than 2 mm above it. If the temperature of the soldering iron bit is less than 300 C it may remain in contact for up to 10 seconds. If the bit temperature is between 300 and 400 C, contact may be up to 5 seconds.
12.3 Surface mount packages
12.3.1 Reflow soldering Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. Several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method. Typical reflow peak temperatures range from 215 to 270 C depending on solder paste material. The top-surface temperature of the packages should preferably be kept:
* below 220 C (SnPb process) or below 245 C (Pb-free process)
- for all the BGA and SSOP-T packages
9397 750 11621 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
42 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
- for packages with a thickness 2.5 mm - for packages with a thickness < 2.5 mm and a volume 350 mm3 so called thick/large packages.
* below 235 C (SnPb process) or below 260 C (Pb-free process) for packages with
a thickness < 2.5 mm and a volume < 350 mm3 so called small/thin packages. Moisture sensitivity precautions, as indicated on packing, must be respected at all times. 12.3.2 Wave soldering Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. To overcome these problems the double-wave soldering method was specifically developed. If wave soldering is used the following conditions must be observed for optimal results:
* Use a double-wave soldering method comprising a turbulent wave with high
upward pressure followed by a smooth laminar wave.
* For packages with leads on two sides and a pitch (e):
- larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; - smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves at the downstream end.
* For packages with leads on four sides, the footprint must be placed at a 45 angle
to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves downstream and at the side corners. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. Typical dwell time of the leads in the wave ranges from 3 to 4 seconds at 250 C or 265 C, depending on solder material applied, SnPb or Pb-free respectively. A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. 12.3.3 Manual soldering Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 C. When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 C.
9397 750 11621
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
43 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
12.4 Package related soldering information
Table 27: Mounting Through-hole mount Surface mount Suitability of IC packages for wave, reflow and dipping soldering methods Package[1] DBS, DIP, HDIP, SDIP, SIL BGA, LBGA, LFBGA, SQFP, SSOP-T[4], TFBGA, VFBGA DHVQFN, HBCC, HBGA, HLQFP, HSQFP, HSOP, HTQFP, HTSSOP, HVQFN, HVSON, SMS PLCC[6], SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO, VSSOP
[1] [2]
Soldering method Wave suitable[3] not suitable Reflow[2] - suitable Dipping suitable -
not suitable[5]
suitable
-
suitable not not recommended[6][7] recommended[8]
suitable suitable suitable
- - -
[3] [4]
[5]
[6] [7] [8]
For more detailed information on the BGA packages refer to the (LF)BGA Application Note (AN01026); order a copy from your Philips Semiconductors sales office. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the Drypack information in the Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods. For SDIP packages, the longitudinal axis must be parallel to the transport direction of the printed-circuit board. These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 C 10 C measured in the atmosphere of the reflow oven. The package body peak temperature must be kept as low as possible. These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. If wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. The package footprint must incorporate solder thieves downstream and at the side corners. Wave soldering is suitable for LQFP, QFP and TQFP packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. Wave soldering is suitable for SSOP and TSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
13. Revision history
Table 28: Rev Date 03 20030619 Revision history CPCN Description Product data (9397 750 11621). ECN 853-2368 30033 of 16 June 2003. Modifications:
*
02 01 20030314 20020904 -
Figure 5 "Crystal oscillator connection." on page 13: changed capacitors' values and added connection with resistor.
Product data (9397 750 11204). ECN 853-2368 29624 of 07 March 2003. Product data (9397 750 08831). ECN 853-2368 28865 of 04 September 2002.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
9397 750 11621
Product data
Rev. 03 -- 19 June 2003
44 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
14. Data sheet status
Level I II Data sheet status[1] Objective data Preliminary data Product status[2][3] Development Qualification Definition This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. This data sheet contains data from the product specification. Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN).
III
Product data
Production
[1] [2] [3]
Please consult the most recently issued data sheet before initiating or completing a design. The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
15. Definitions
Short-form specification -- The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition -- Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information -- Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification.
16. Disclaimers
Life support -- These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes -- Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. When the product is in full production (status `Production'), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified.
Contact information
For additional information, please visit http://www.semiconductors.philips.com. For sales office addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com.
9397 750 11621
Fax: +31 40 27 24825
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 19 June 2003
45 of 46
Philips Semiconductors
SC16C2550
Dual UART with 16 bytes of transmit and receive FIFOs and IrDA encoder/decoder
Contents
1 2 3 4 5 5.1 5.2 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 7 7.1 7.2 7.2.1 7.2.2 7.3 7.3.1 7.3.2 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 4 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 6 Functional description . . . . . . . . . . . . . . . . . . . 9 UART A-B functions . . . . . . . . . . . . . . . . . . . . . 9 Internal registers. . . . . . . . . . . . . . . . . . . . . . . 10 FIFO operation . . . . . . . . . . . . . . . . . . . . . . . . 11 Hardware flow control . . . . . . . . . . . . . . . . . . . 11 Software flow control . . . . . . . . . . . . . . . . . . . 11 Special feature software flow control . . . . . . . 12 Hardware/software and time-out interrupts. . . 12 Programmable baud rate generator . . . . . . . . 13 DMA operation . . . . . . . . . . . . . . . . . . . . . . . . 14 Loop-back mode . . . . . . . . . . . . . . . . . . . . . . . 14 Register descriptions . . . . . . . . . . . . . . . . . . . 16 Transmit (THR) and Receive (RHR) Holding Registers . . . . . . . . . . . . . . . . . . . . . 17 Interrupt Enable Register (IER) . . . . . . . . . . . 17 IER versus Transmit/Receive FIFO interrupt mode operation . . . . . . . . . . . . . . . . . . . . . . . 18 IER versus Receive/Transmit FIFO polled mode operation . . . . . . . . . . . . . . . . . . . . . . . 19 FIFO Control Register (FCR) . . . . . . . . . . . . . 19 DMA mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 FIFO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Interrupt Status Register (ISR) . . . . . . . . . . . . 21 Line Control Register (LCR) . . . . . . . . . . . . . . 22 Modem Control Register (MCR) . . . . . . . . . . . 24 Line Status Register (LSR) . . . . . . . . . . . . . . . 25 Modem Status Register (MSR). . . . . . . . . . . . 26 Scratchpad Register (SPR) . . . . . . . . . . . . . . 27 Enhanced Feature Register (EFR) . . . . . . . . . 27 SC16C2550 external reset condition . . . . . . . 29 8 9 10 10.1 11 12 12.1 12.2 12.2.1 12.2.2 12.3 12.3.1 12.3.2 12.3.3 12.4 13 14 15 16 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . Static characteristics . . . . . . . . . . . . . . . . . . . Dynamic characteristics . . . . . . . . . . . . . . . . . Timing diagrams. . . . . . . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . Through-hole mount packages . . . . . . . . . . . Soldering by dipping or by solder wave . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Surface mount packages . . . . . . . . . . . . . . . . Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Package related soldering information . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Data sheet status. . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 30 31 32 39 42 42 42 42 42 42 42 43 43 44 44 45 45 45
(c) Koninklijke Philips Electronics N.V. 2003. Printed in the U.S.A
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: 19 June 2003 Document order number: 9397 750 11621


▲Up To Search▲   

 
Price & Availability of SC16C2550

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X